from app.exts import db
import datetime

class Openid(db.Model):
    __tablename__="user_openid"

    uid = db.Column(db.String(80), primary_key=True)
    openid =db.Column(db.String(80))

class location(db.Model):
    __tablename__="user_location"

    openid =db.Column(db.String(80), primary_key=True)
    latitude=db.Column(db.String(80))
    longitude = db.Column(db.String(80))
    record_time = db.Column(db.String(80))